home *** CD-ROM | disk | FTP | other *** search
/ PC Media 2 / PC MEDIA CD02.iso / share / prog / realasm1 / add.bat next >
Encoding:
DOS Batch File  |  1993-08-07  |  451 b   |  20 lines

  1. @echo off
  2. rem
  3. rem  BATCH FILE FOR ADDING/REPLACING MATH.LIB FUNCTIONS
  4. rem
  5. if exist %1.obj del %1.obj
  6. rem
  7. rem /c  - compile only
  8. rem /Gd - create "C" type .OBJ file
  9. rem /Cp - preserve case sensitivity
  10. rem /Fo - create .OBJ file
  11. rem /I  - include files path
  12. rem /W2 - error level 2
  13. rem /WX - all warnings
  14. rem
  15. ml /c /Gd /Cp /Fo%1 /W2 /WX /nologo %1.asm
  16. if not exist %1.obj goto add_end
  17. lib math /NOI /NOLOGO -+%1;
  18. del %1.obj
  19. :add_end
  20.